package game.controler.ecouteurs.conversation;

import game.controler.gestionnaires.conversation.GestionnaireConversation;
import game.model.conversation.Monologue;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;

/**
 *
 * @author Gab'z
 */
public class EcouteurConversationMonologue implements MouseListener {

    private String idConversation;

    public EcouteurConversationMonologue(String idConversation) {
        this.idConversation = idConversation;
    }

    @Override
    public void mouseClicked(MouseEvent e) {
        System.out.println("clic sur suivant monologue : " + idConversation);
        ((Monologue) GestionnaireConversation.getGconversation().getConversation(idConversation)).doActionClicNext();
    }

    @Override
    public void mousePressed(MouseEvent e) {
        // throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void mouseReleased(MouseEvent e) {
        //  throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void mouseEntered(MouseEvent e) {
        // throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void mouseExited(MouseEvent e) {
        //throw new UnsupportedOperationException("Not supported yet.");
    }
}
